package com.sunjee.order.service.feign;

import cn.hutool.core.lang.Dict;
import com.framework.common.api.CommonResult;
import com.sunjee.dubbo.dto.SysUserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author lihanbo
 */
@FeignClient("sunjee-system")
@Component
public interface SystemFeignService {

    @PostMapping("/getUserInfo")
    CommonResult<SysUserDTO> getUserInfo(@RequestBody Dict dict);
}
